local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1
L0_1 = {}
L0_1.group_id = 220005002
L1_1 = {}
L2_1 = {}
L2_1.config_id = 2002
L2_1.monster_id = 21010601
L3_1 = {}
L3_1.x = -56.332
L3_1.y = 4.285
L3_1.z = 0.635
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 359.819
L3_1.y = 89.555
L3_1.z = 1.185
L2_1.rot = L3_1
L2_1.level = 1
L2_1.pose_id = 9012
L3_1 = {}
L3_1.config_id = 2003
L3_1.monster_id = 21010601
L4_1 = {}
L4_1.x = -51.859
L4_1.y = 4.285
L4_1.z = -3.455
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 359.819
L4_1.y = 1.642
L4_1.z = 1.185
L3_1.rot = L4_1
L3_1.level = 1
L3_1.pose_id = 9012
L4_1 = {}
L4_1.config_id = 2004
L4_1.monster_id = 21010601
L5_1 = {}
L5_1.x = -51.766
L5_1.y = 4.285
L5_1.z = 4.056
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 359.819
L5_1.y = 179.621
L5_1.z = 1.185
L4_1.rot = L5_1
L4_1.level = 1
L4_1.pose_id = 9012
L5_1 = {}
L5_1.config_id = 2005
L5_1.monster_id = 21020101
L6_1 = {}
L6_1.x = -56.632
L6_1.y = 4.285
L6_1.z = 9.983
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 157.501
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.disableWander = true
L5_1.pose_id = 401
L6_1 = {}
L6_1.config_id = 2009
L6_1.monster_id = 21010901
L7_1 = {}
L7_1.x = -69.714
L7_1.y = 10.638
L7_1.z = 11.16
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 131.936
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.disableWander = true
L6_1.pose_id = 32
L7_1 = {}
L7_1.config_id = 2017
L7_1.monster_id = 20010801
L8_1 = {}
L8_1.x = -64.738
L8_1.y = 4.578
L8_1.z = 7.185
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 43.541
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 2022
L8_1.monster_id = 20010801
L9_1 = {}
L9_1.x = -63.311
L9_1.y = 4.473
L9_1.z = 10.924
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 91.052
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 2001
L2_1.gadget_id = 70300099
L3_1 = {}
L3_1.x = -52.121
L3_1.y = 4.285
L3_1.z = 0.515
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = GadgetState
L3_1 = L3_1.GearStart
L2_1.state = L3_1
L3_1 = {}
L3_1.config_id = 2006
L3_1.gadget_id = 70220013
L4_1 = {}
L4_1.x = -62.915
L4_1.y = 4.285
L4_1.z = 14.454
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L4_1.config_id = 2007
L4_1.gadget_id = 70220013
L5_1 = {}
L5_1.x = -64.652
L5_1.y = 4.285
L5_1.z = 13.303
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 22.704
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = {}
L5_1.config_id = 2008
L5_1.gadget_id = 70350018
L6_1 = {}
L6_1.x = -68.214
L6_1.y = 4.351
L6_1.z = 11.613
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 1.315
L6_1.y = 230.585
L6_1.z = 359.007
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L6_1.config_id = 2010
L6_1.gadget_id = 70300097
L7_1 = {}
L7_1.x = -58.278
L7_1.y = 4.285
L7_1.z = 12.233
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 339.558
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L7_1.config_id = 2011
L7_1.gadget_id = 70220013
L8_1 = {}
L8_1.x = -59.376
L8_1.y = 4.217
L8_1.z = -12.925
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 358.395
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 2012
L8_1.gadget_id = 70220013
L9_1 = {}
L9_1.x = -60.139
L9_1.y = 4.285
L9_1.z = -10.589
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 17.004
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 2013
L9_1.gadget_id = 70220014
L10_1 = {}
L10_1.x = -55.431
L10_1.y = 4.285
L10_1.z = 13.535
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 0.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L10_1 = {}
L10_1.config_id = 2014
L10_1.gadget_id = 70220014
L11_1 = {}
L11_1.x = -52.094
L11_1.y = 4.285
L11_1.z = -4.917
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 0.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L11_1 = {}
L11_1.config_id = 2015
L11_1.gadget_id = 70220014
L12_1 = {}
L12_1.x = -53.517
L12_1.y = 4.285
L12_1.z = -4.554
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 0.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L12_1 = {}
L12_1.config_id = 2016
L12_1.gadget_id = 70220014
L13_1 = {}
L13_1.x = -52.892
L13_1.y = 4.285
L13_1.z = -5.675
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 0.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L13_1 = {}
L13_1.config_id = 2018
L13_1.gadget_id = 70900201
L14_1 = {}
L14_1.x = -72.694
L14_1.y = 20.182
L14_1.z = 10.933
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 0.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L14_1 = {}
L14_1.config_id = 2020
L14_1.gadget_id = 70211012
L15_1 = {}
L15_1.x = -58.264
L15_1.y = 4.483
L15_1.z = 12.448
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 136.473
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 6
L14_1.drop_tag = "\230\136\152\230\150\151\228\184\173\231\186\167\232\146\153\229\190\183"
L15_1 = GadgetState
L15_1 = L15_1.ChestLocked
L14_1.state = L15_1
L14_1.isOneoff = true
L14_1.persistent = true
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 2019
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 5
L3_1 = {}
L3_1.x = -74.495
L3_1.y = 22.311
L3_1.z = 11.581
L2_1.pos = L3_1
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1002019
L2_1.name = "ENTER_REGION_2019"
L3_1 = EventType
L3_1 = L3_1.EVENT_ENTER_REGION
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ENTER_REGION_2019"
L2_1.action = "action_EVENT_ENTER_REGION_2019"
L2_1.forbid_guest = false
L3_1 = {}
L3_1.config_id = 1002021
L3_1.name = "ANY_MONSTER_DIE_2021"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_MONSTER_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_MONSTER_DIE_2021"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_2021"
L1_1[1] = L2_1
L1_1[2] = L3_1
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "iskill"
L2_1.value = 0
L2_1.no_refresh = true
L1_1[1] = L2_1
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 2002
L5_1 = 2003
L6_1 = 2004
L7_1 = 2005
L8_1 = 2009
L9_1 = 2017
L10_1 = 2022
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 2001
L5_1 = 2006
L6_1 = 2007
L7_1 = 2008
L8_1 = 2010
L9_1 = 2011
L10_1 = 2012
L11_1 = 2013
L12_1 = 2014
L13_1 = 2015
L14_1 = 2016
L15_1 = 2020
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L3_1[9] = L12_1
L3_1[10] = L13_1
L3_1[11] = L14_1
L3_1[12] = L15_1
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 2019
L3_1[1] = L4_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ENTER_REGION_2019"
L5_1 = "ANY_MONSTER_DIE_2021"
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L1_1[1] = L2_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = A1_2.param1
  if L2_2 ~= 2019 then
    L2_2 = false
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GetRegionEntityCount
  L3_2 = A0_2
  L4_2 = {}
  L5_2 = A1_2.source_eid
  L4_2.region_eid = L5_2
  L5_2 = EntityType
  L5_2 = L5_2.AVATAR
  L4_2.entity_type = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 < 1 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ENTER_REGION_2019 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.KillEntityByConfigId
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 2018
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ENTER_REGION_2019 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCount
  L3_2 = A0_2
  L2_2 = L2_2(L3_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_2021 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.ChangeGroupGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 2020
  L5_2 = GadgetState
  L5_2 = L5_2.Default
  L4_2.state = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : unlock_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 2018
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_2021 = L1_1
